<div ng-controller="z-employeeInformation-c" z-loading
	is-loading="viewModel.isLoading">
	<div viewstack class="carousel slide" data-ride="carousel">
		<div class="carousel-inner" role="listbox">
			<div class="item active">
				<div class="row">
					<div class="col-lg-12 heading">
						<ul id="crumb" class="breadcrumb">
							<li><i class="im-home"></i> <a href="index.html">首页</a> <i
								class="en-arrow-right7"></i></li>
							<li ng-repeat="menu in viewModel.menuList">
	                        	<i class="{{menu.icons}}" ng-if="$index+1!=viewModel.menuList.length"></i>
	                        	<i class="en-arrow-right7" ng-if="$index+1==viewModel.menuList.length"></i>
	                        	{{menu.label}}
	                        </li>
						</ul>
					</div>
				</div>
				<div id="myTabContent2" class="tab-content">
					<div class="tab-pane fade active in" id="home2">
						<div class="container-fluid">
							<div class="row" style="height: 700px; overflow-y: scroll;">
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">员工号：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="employeeNo" type="text" class="form-control"
												disabled ng-model="viewModel.employeeInformation.employeeNo">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">中文名：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="chineseName" type="text" class="form-control"
												disabled
												ng-model="viewModel.employeeInformation.chineseName">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">英文名：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="englishName" type="text" class="form-control"
												disabled
												ng-model="viewModel.employeeInformation.englishName">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">性别：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="sexName" type="text" class="form-control"
												disabled ng-model="viewModel.employeeInformation.sexName">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">邮箱：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="email" type="text" class="form-control" disabled
												ng-model="viewModel.employeeInformation.email">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">首次工作时间：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="firstDate" type="text" class="form-control"
												disabled ng-model="viewModel.employeeInformation.firstDate">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">入职时间：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="entryDate" type="text" class="form-control"
												disabled ng-model="viewModel.employeeInformation.entryDate">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">年假可使用日期：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="annualLeaveDate" type="text" class="form-control"
												disabled ng-model="viewModel.employeeInformation.annualLeaveDate">
										</div>
									</div>
								</div>
								<!-- <div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">员工类型：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="employeeTypeName" type="text"
												class="form-control" disabled
												ng-model="viewModel.employeeInformation.employeeTypeName">
										</div>
									</div>
								</div> -->
								<!-- <div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">员工类别：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="employeeCategoryName" type="text"
												class="form-control" disabled
												ng-model="viewModel.employeeInformation.employeeCategoryName">
										</div>
									</div>
								</div> -->
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">员工级别：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="level" type="text" class="form-control" disabled
												ng-model="viewModel.employeeInformation.level">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">地区：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="regionTypeName" type="text" class="form-control"
												disabled
												ng-model="viewModel.employeeInformation.regionTypeName">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">公司名称：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="corporationName" type="text"
												class="form-control" disabled
												ng-model="viewModel.employeeInformation.corporationName">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">开始日期：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="corporationFromDate" type="text"
												class="form-control" disabled
												ng-model="viewModel.employeeInformation.corporationFromDate">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">结束日期：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="corporationThruDate" type="text"
												class="form-control" disabled
												ng-model="viewModel.employeeInformation.corporationThruDate">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">部门名称：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="departmentName" type="text" class="form-control"
												disabled
												ng-model="viewModel.employeeInformation.departmentName">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">开始日期：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="departmentFromDate" type="text"
												class="form-control" disabled
												ng-model="viewModel.employeeInformation.departmentFromDate">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
									<div class="col-sm-3 col-md-3 form-title">结束日期：</div>
									<div class="col-sm-8 col-md-8 form-input">
										<div class="input-group">
											<input name="employeeNo" type="text" class="form-control"
												disabled
												ng-model="viewModel.employeeInformation.departmentThruDate">
										</div>
									</div>
								</div>
								<div class="col-md-12 form-item">
			<table class="table table-striped table-bordered" cellspacing="0" width="100%">
						<thead>
							<tr>
								<th>岗位名称</th>
								<th>所属部门</th>
								<th>主次岗位</th>
								<th style="width: 20%;"><span style="color:red;">*</span>开始时间</th>
								<th style="width: 20%;">结束时间</th>
							</tr>
						</thead>
						<tbody>
							<tr ng-repeat="role in viewModel.employeeInformation.roleList">
								<td>{{role.roleName}}</td>
								<td><span ng-hide="role.departmentName==null">({{role.departmentCode}}){{role.departmentName}}</span></td>
								<td>
										<span value="0" ng-if="role.isRole==0||role.isRole==null" >否</span>
										<span value="1" ng-if="role.isRole==1" >是</span>
								</td>
								<td>
									<div class="input-group " style="width: 100%;">
										<input name="roleFromDate" 
											   ng-model="role.fromDate" 
											   class="form-control datetime-picker" 
											   type="text"
											   disabled
											   autofocus="autofocus" 
											   maxLength="10">
								</div>
								</td>
								<td>
									<div class="input-group " style="width: 100%;">
										<input name="roleThruDate" 
											   ng-model="role.thruDate" 
											   class="form-control datetime-picker" 
											   type="text"
											   disabled
											   autofocus="autofocus" 
											   maxLength="10"
										       >
									</div>	
								</td>
							</tr>
						</tbody>
					</table>
		</div>
								<!-- <div ng-repeat="role in viewModel.employeeInformation.roleList">
									<div class="col-md-12 form-item">
										<div class="col-sm-3 col-md-3 form-title">岗位名称：</div>
										<div class="col-sm-8 col-md-8 form-input">
											<div class="input-group">
												<input name="roleName" type="text" class="form-control"
													disabled ng-model="role.roleName">
											</div>
										</div>
									</div>



									<div class="col-md-12 form-item">
										<div class="col-sm-3 col-md-3 form-title">开始日期：</div>
										<div class="col-sm-8 col-md-8 form-input">
											<div class="input-group">
												<input name="roleFromDate" type="text" class="form-control"
													disabled ng-model="role.fromDate">
											</div>
										</div>
									</div>
									<div class="col-md-12 form-item">
										<div class="col-sm-3 col-md-3 form-title">结束日期：</div>
										<div class="col-sm-8 col-md-8 form-input">
											<div class="input-group">
												<input name="roleThruDate" type="text" class="form-control"
													disabled ng-model="role.thruDate">
											</div>
										</div>
									</div>
								</div> -->

							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>